package Reflect;

import Reflect.annotations.AutoRunClass;
import Reflect.annotations.AutoRunMethod;

import java.lang.reflect.Method;

public class ReflectDemo10 {
    public static void main(String[] args) throws Exception {
        Class cls1 = Class.forName("Reflect.Person");
        boolean mark1 = cls1.isAnnotationPresent(AutoRunClass.class);
        System.out.println("是否被标注了:"+mark1);




    }
}
